package com.um.swing.ui;

import javax.swing.*;
import javax.swing.plaf.basic.BasicScrollPaneUI;
import java.awt.*;

/**
 * ScrollPane UI
 */
public class IScrollPaneUI extends BasicScrollPaneUI {

	@Override
	public void installUI ( JComponent c ) {
		super.installUI(c);
		c.setBorder(null);
	}

	@Override
	public void paint(Graphics g, JComponent c) {
		super.paint(g, c);

		g.setColor(Color.BLACK);
		g.fillRect(0, 0, c.getWidth(), c.getHeight());
	}
}
